package com.osdp.uc.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 用户岗位表
 * @Author:
 * @Date:
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="uc_user_position对象", description="用户岗位表")
public class UcUserPositionVo {

	/**主键*/
    @ApiModelProperty(value = "主键")
	private String id;

	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
	private String userId;

	/**岗位id*/
	@Excel(name = "岗位id", width = 15)
    @ApiModelProperty(value = "岗位id")
	private String positionId;

	/**是否主岗位,1是，0否*/
	@Excel(name = "是否主岗位,1是，0否", width = 15)
    @ApiModelProperty(value = "是否主岗位,1是，0否")
	private int isMajor;

	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "岗位开始时间")
	private Date startDate;

	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "岗位结束时间")
	private Date endDate;

	@ApiModelProperty(value = "部门id")
	private String orgId;

	@ApiModelProperty(value = "职务id")
	private String titleId;

//	@Excel(name = "删除状态（0，正常，1已删除）", width = 15)
//	@ApiModelProperty(value = "删除状态（0，正常，1已删除）")
//	private Integer delFlag;

}
